'use strict';

/**
 * @params {classes}
 * @bussiness {书库分类详细栏}
 * @author JC
 * @date 2022-08-15
 * **/
const Controller = require('egg').Controller;

class GetCateDetail extends Controller {
    async getCategoryDetail() {
        try {
            const {
                ctx
            } = this;
            const params = ctx.request.body
            let result = await this.service.cates.getCateDetail(params)
            ctx.body = {
                msg:200,
                data:result,
            }
        } catch (e) {

        }
    }
}

module.exports = GetCateDetail